package com.kgc.service;

import com.kgc.bean.GoodsItem;
import com.kgc.util.ReturnResult;
import org.springframework.stereotype.Service;

/**
 * Created on 2021/6/23.
 * Author: lzy
 * Description: 到货提醒业务层
 */

public interface ArrivalRemindService {


    /**
    *@ClassName: ArrivalRemindService
    *@Description  判断用户是否加入过了这个商品的到货提醒
    *@Author lzy
    *@Date 2021/6/23
    */
    boolean judgeSetArrivalRemind(String goodsId,String phoneNo);

    /**
    *@ClassName: ArrivalRemindService
    *@Description 加入商品的到货提醒
    *@Author lzy
    *@Date 2021/6/23
    */
    void  addArrivalRemind(String goodsId,String phoneNo);


    /**
     *@ClassName: AddGoodsStockService
     *@Description 发送信息给用户提示，商品有库存
     *@Author lzy
     *@Date 2021/6/23
     */
    void sendSmsToUserGoodsHasStock(String goodsId);


    /**
    *@ClassName: ArrivalRemindService
    *@Description 根据商品id判断商品是否存在
    *@Author lzy
    *@Date 2021/6/29
    */
     GoodsItem queryselectGoodsByGoodsId(String goodsId);


}
